package com.onesports.intelligent.k12.polarlight.domain.vo.course;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.onesports.framework.kit.common.valid.Json;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * ${comments}
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Data
@ApiModel(value = "排课表VO")
public class CourseScheduleVO {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "课表id")
    private String id;

    @ApiModelProperty(value = "校区id")
    private String campusId;

    @ApiModelProperty(value = "校区名称")
    private String campusName;


    @ApiModelProperty(value = "课表名称")
    private String scheduleName;


    @ApiModelProperty(value = "课程id")
    private String courseId;

    @ApiModelProperty(value = "课程名称")
    private String courseName;


    @ApiModelProperty(value = "方式：1按星期  2：按日期")
    private String courseType;


    @ApiModelProperty(value = "上课开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;


    @ApiModelProperty(value = "上课结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;


    @ApiModelProperty(value = "星期code数组")
    private String[] weekCode;

    @ApiModelProperty(value = "日期数组")
    private List<String> courseDate;


    @ApiModelProperty(value = "机构id")
    private String organizationId;


    @ApiModelProperty(value = "发布状态 true: 已发布  FALSE： 未发布")
    private Boolean publishStatus;

    @ApiModelProperty("节次总数量")
    private Integer totalNum;


}
